#ifndef TEST_ELEMENT_H
#define TEST_ELEMENT_H

#endif // TEST_ELEMENT_H

#include "TESTS/utilities_for_tests.h"

#include "FEM/element.h"
#include "FEM/node.h"

bool elementTest1()
{
    /*Node3DWrapped n1;
    n1.coord[0] = 0;
    n1.coord[1] = 0;
    n1.coord[2] = 0;
    Node3DWrapped n2;
    n2.coord[0] = 4;
    n2.coord[1] = 0;
    n2.coord[2] = 3;
    Node3DWrapped n3;
    n3.coord[0] = 4;
    n3.coord[1] = 0;
    n3.coord[2] = 0;
    Edge<Node3D> edg;
    edg.nodes[0]=&n1;
    edg.nodes[1]=&n2;
    n1.createRefToEdge(&edg);
    n2.createRefToEdge(&edg);
    Triangle<Node3D> tr;
    tr.nodes[0]=&n1;
    tr.nodes[1]=&n2;
    tr.nodes[2]=&n3;
    n1.createRefToTriangle(&tr);
    n2.createRefToTriangle(&tr);
    n3.createRefToTriangle(&tr);
    return message((char*)"elementTest1 a",
            n1.myEdges[0] == n2.myEdges[0] &&
            n1.myTriangles[0] == n2.myTriangles[0] &&
            *(n1.myEdges[0]->nodes[0]) == n1);*/
    return true;
}
